home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 4269 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.8 KB

  1. Path: mail2news.demon.co.uk!beachyhd.demon.co.uk
  2. From: Adam@beachyhd.demon.co.uk
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Non-draggable child screens
  5. Date: 25 Feb 96 21:50:17 GMT
  6. Organization: Beachy Head - UK
  7. Message-ID: <31312dd7@beachyhd.demon.co.uk>
  8. X-NNTP-Posting-Host: beachyhd.demon.co.uk
  9. MIME-Version: 1.0
  10. Content-Type: text/plain; charset=iso-8859-1
  11. Content-Transfer-Encoding: 8bit
  12. X-GateSoftware: AmiGate 1.6 (13.11.95)
  13. MMDF-Warning:  Parse error in original version of preceding line at relay-2.mail.demon.net
  14. X-Mail2News-Path: disperse.demon.co.uk!post.demon.co.uk!beachyhd.demon.co.uk
  15.  
  16. I have a program which opens a screen, which is 1280 pixels wide -- double the
  17. width of a normal video display. I've opened this with the SA_DRAGGABLE tag set
  18. to FALSE to stop the user moving the screen. I want the screen to move entirely
  19. under program control, and not under user control.
  20.  
  21. I then opened a child screen of this one, using the SA_PARENT tag. I want the
  22. child screen to stay exactly where it is whilst the parent screen is scrolling
  23. (the child screen is to display status messages, etc.). In order to achieve
  24. this, I've set the SA_DRAGGABLE tag of the child screen set to TRUE (to allow
  25. it to be positioned independantly of the parent screen).
  26.  
  27. This works just fine. The parent screen can be scrolled around, and the child
  28. screen stays perfectly stationary. However, it does have one drawback: the user
  29. can drag the child screen around using the Amiga key plus left mouse button.
  30.  
  31. Can anyone suggest a way that I can achieve what I currently have in place, but
  32. with the child screen also undraggable? Setting DRAGGABLE,FALSE for the child
  33. screen just locks it to the parent screen and causes all sorts of problems..
  34.  
  35. Thanks!
  36.  
  37. .\dam.          [Team AMIGA]          //\ ad32@brighton.ac.uk \\/
  38.  
  39.